<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        const top250 = [
            { name: "lisi", age: 10 },
            { name: "lisi1", age: 11 },
            { name: "lisi3", age: 16 },
            { name: "lisi4", age: 6 },
            { name: "lisi5", age: 20 },
        ];
        var arr = top250.filter(item=>{
            return item.age<=11 && item.age>=6
        })
        var list = [];
        arr.forEach(item=>{
            list.push({
                age:item.age
            })
        })
        console.log(list);
    </script>
</body>

</html>